#include <stdio.h>

int get_index(char x){
    return x - 'a';
}

int main(int argc, const char *argv[]){
    char buff[1024];
    scanf("%s", buff);

    // 用来存放每个字符出现的次数
    int count[26] = {0};

    int i = 0;
    int index = 0;
    while(buff[i]){
        index = get_index(buff[i]);
        count[index]++;
        i++;
    }
    // 输出
    for(i = 0; i < 26; i++){
        printf("%c--%d\n", i+'a', count[i]);
    }
    
    return 0;
}